home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / CUGUK / APPLICAT / C050.ZIP / SFSSRC.ZIP / SFS.SRC / MAP / MAKEFILE.X < prev    next >
Text File  |  1991-11-04  |  2KB  |  65 lines

  1. #---------------------------------------------------------------
  2. #
  3. #    makefile.x
  4. #
  5. #    Unix Makefile for Space Flight Simulator
  6. #    Map Utility -- X Windows ver. 11
  7. #
  8. #---------------------------------------------------------------
  9.  
  10. #---------------------------------------------------------------
  11. # ui and as object files
  12.  
  13. LIBS=        ../../lib/ui_boxes.o ../../lib/ui_dial.o \
  14.         ../../lib/ui_init.o ../../lib/ui_list.o ../../lib/ui_text.o \
  15.         ../../lib/ui_gets.o ../../lib/ui_pbm.o\
  16.         ../../lib/gr_x.o\
  17.                 ../../lib/dr_unix.o ../../lib/kb_x.o
  18.  
  19. AST=        as_orbit.o as_focus.o as_vpt.o \
  20.         as_spj.o
  21.  
  22. #---------------------------------------------------------------
  23. # Map utility object files
  24.  
  25. MAP=        map.o map_dr.o
  26.  
  27. #---------------------------------------------------------------
  28. # Flags for map utility
  29.  
  30. CFLAGS=        -DDEBUG -O -I../../include
  31.  
  32. #---------------------------------------------------------------
  33. # Build the map utility
  34.  
  35. map:        $(MAP) $(AST)
  36.         $(CC) $(CFLAGS) $(MAP) $(AST) $(LIBS)\
  37.                 -lX11 -lm -o map
  38.  
  39. #---------------------------------------------------------------
  40. # Specific dependencies:
  41.  
  42. map.o:    
  43.         $(CC) $(CFLAGS) map.c -c
  44.  
  45. map_dr.o:    
  46.         $(CC) $(CFLAGS) map_dr.c -c
  47.  
  48. as_orbit.o:
  49.         $(CC) $(CFLAGS) ../as/as_orbit.c -c
  50.  
  51. as_focus.o:
  52.         $(CC) $(CFLAGS) ../as/as_focus.c -c
  53.  
  54. as_vpt.o:
  55.         $(CC) $(CFLAGS) ../as/as_vpt.c -c
  56.  
  57. as_spj.o:
  58.         $(CC) $(CFLAGS) ../as/as_spj.c -c
  59.  
  60. #---------------------------------------------------------------
  61. # End of makefile.x
  62. #---------------------------------------------------------------
  63.  
  64.  
  65.